# !/usr/bin/env python
# -*-coding:utf-8 -*-

"""
# File       : change.py
# Time       ：2025/5/27 17:22
# Description：
"""
from dataclasses import dataclass
from typing import Optional


@dataclass
class GetCid:
    gid: str


@dataclass
class BeginCharge:
    cid: Optional[str] = None
    connector_id: Optional[str] = None
    power: Optional[int] = None


@dataclass
class EndCharge:
    cid: Optional[str] = None
    transaction_id: Optional[str] = None
    reason: Optional[str] = None
